﻿.control-group.error .checkbox, .control-group.error .control-label, .control-group.error .help-block, .control-group.error .help-inline, .control-group.error .radio, .control-group.error input, .control-group.error select, .control-group.error textarea {
    color: #b94a48;
}

.control-group.error input, .control-group.error select, .control-group.error textarea {
    color: #b94a48;
    border-color: #b94a48;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

    .control-group.error input:focus, .control-group.error select:focus, .control-group.error textarea:focus {
        border-color: #953b39;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #d59392;
        -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #d59392;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #d59392;
    }

.control-group.error .input-append .add-on, .control-group.error .input-prepend .add-on {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #b94a48;
}

.control-group.success .checkbox, .control-group.success .control-label, .control-group.success .help-block, .control-group.success .help-inline, .control-group.success .radio, .control-group.success input, .control-group.success select, .control-group.success textarea {
    color: #468847;
}

.control-group.success input, .control-group.success select, .control-group.success textarea {
    color: #468847;
    border-color: #468847;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

    .control-group.success input:focus, .control-group.success select:focus, .control-group.success textarea:focus {
        border-color: #356635;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #7aba7b;
        -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #7aba7b;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #7aba7b;
    }

.control-group.success .input-append .add-on, .control-group.success .input-prepend .add-on {
    color: #468847;
    background-color: #dff0d8;
    border-color: #468847;
}

.control-group.info .checkbox, .control-group.info .control-label, .control-group.info .help-block, .control-group.info .help-inline, .control-group.info .radio, .control-group.info input, .control-group.info select, .control-group.info textarea {
    color: #3a87ad;
}

.control-group.info input, .control-group.info select, .control-group.info textarea {
    color: #3a87ad;
    border-color: #3a87ad;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

    .control-group.info input:focus, .control-group.info select:focus, .control-group.info textarea:focus {
        border-color: #2d6987;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #7ab5d3;
        -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #7ab5d3;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #7ab5d3;
    }

.control-group.info .input-append .add-on, .control-group.info .input-prepend .add-on {
    color: #3a87ad;
    background-color: #d9edf7;
    border-color: #3a87ad;
}

input:focus:invalid, select:focus:invalid, textarea:focus:invalid {
    color: #b94a48;
    border-color: #ee5f5b;
}

    input:focus:invalid:focus, select:focus:invalid:focus, textarea:focus:invalid:focus {
        border-color: #e9322d;
        -webkit-box-shadow: 0 0 6px #f8b9b7;
        -moz-box-shadow: 0 0 6px #f8b9b7;
        box-shadow: 0 0 6px #f8b9b7;
    }

.form-actions {
    padding: 19px 20px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    *zoom: 1;
}

    .form-actions:after, .form-actions:before {
        display: table;
        content: "";
        line-height: 0;
    }

    .form-actions:after {
        clear: both;
    }

.help-block, .help-inline {
    color: #595959;
}

.help-block {
    display: block;
    margin-bottom: 10px;
}

.help-inline {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    padding-left: 5px;
}

.input-append, .input-prepend {
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: middle;
    font-size: 0;
    white-space: nowrap;
}

    .input-append .dropdown-menu, .input-append .popover, .input-append .uneditable-input, .input-append input, .input-append select, .input-prepend .dropdown-menu, .input-prepend .popover, .input-prepend .uneditable-input, .input-prepend input, .input-prepend select {
        font-size: 14px;
    }

    .input-append .uneditable-input, .input-append input, .input-append select, .input-prepend .uneditable-input, .input-prepend input, .input-prepend select {
        position: relative;
        margin-bottom: 0;
        *margin-left: 0;
        vertical-align: top;
        -webkit-border-radius: 0 4px 4px 0;
        -moz-border-radius: 0 4px 4px 0;
        border-radius: 0 4px 4px 0;
    }

        .input-append .uneditable-input:focus, .input-append input:focus, .input-append select:focus, .input-prepend .uneditable-input:focus, .input-prepend input:focus, .input-prepend select:focus {
            z-index: 2;
        }

    .input-append .add-on, .input-prepend .add-on {
        display: inline-block;
        width: auto;
        height: 20px;
        min-width: 16px;
        padding: 4px 5px;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        text-align: center;
        text-shadow: 0 1px 0 #fff;
        background-color: #eee;
        border: 1px solid #ccc;
    }
